diff --git a/css/default.css b/css/default.css
new file mode 100644
index 0000000000000000000000000000000000000000..4538282a5081bd903db7b0eb74d81e6778edc832
--- /dev/null
+++ b/css/default.css
@@ -0,0 +1,462 @@
+@charset "UTF-8";
+/* CSS Document */
+
+* {
+ margin: 0px;
+ padding: 0px;
+ font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
+}
+
+body {
+ background: #000000;
+ margin: 0px;
+ padding: 0px;
+ font-size: 11px;
+ color: #CCCCCC;
+ font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
+}
+
+a {
+ text-decoration: none;
+ color: #cccccc;
+}
+
+ul, li {
+ list-style-type: none;
+ padding: 0px;
+ margin: 0px;
+}
+
+li {
+ display: inline;
+}
+
+li a {
+ display: inline;
+}
+
+img {
+ margin: 0 auto;
+ padding: 0px;
+}
+
+.clr {
+ clear: both;
+ height: 0px;
+}
+
+.copyrights {
+ color: #646464;
+ font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
+ text-align: center;
+ margin: 10px 0px 0px 0px;
+}
+
+/*
+** main header body footer container
+*/
+#main_container {
+ position: relative;
+ background: #303030;
+ /* test background background: #00ff00; */
+ top: 0px;
+ width: 901px;
+ margin: 0 auto;
+}
+
+#main_body {
+ margin: 0px 0px 0px 0px;
+ background: #303030;
+ border-left: 1px solid #646464;
+ border-right: 1px solid #646464;
+}
+
+#main_header_home {
+ height: 100px;
+ border-left: 1px solid #646464;
+ border-right: 1px solid #646464;
+ border-bottom: 1px solid #646464;
+ background: #003366;
+ background: url(../images/jukebox_2.jpg) no-repeat;
+}
+
+#main_header_membres {
+ height: 249px;
+ background: url(../images/nomad_v5_top_membres.png) no-repeat;
+}
+
+#main_header_cours {
+ height: 249px;
+ background: url(../images/nomad_v5_top_cours.png) no-repeat;
+}
+
+#main_header_releases {
+ height: 249px;
+ background: url(../images/nomad_v5_top_releases.png) no-repeat;
+}
+
+div.top_box
+{
+ margin-top: 40px;
+ text-align: center;
+}
+
+/*
+** header/menu class & id
+*/
+#menu ul, #menu li {
+ margin:0;
+ padding: 0;
+ list-style-type: none;
+}
+
+#menu ul {
+ position: absolute;
+ height: 22px;
+ /*width: 334px;*/
+ left: 200px;
+ top: 101px;
+}
+
+#menu li {
+ float: left;
+}
+
+#menu li a { /* dimensions et définitions des boutons */
+ display: block; /* mise en block de pour lui donner des dimensions */
+ height: 22px;
+ color: #B8B8B8;
+ padding: 8px 0px 0px 0px;
+ font-size: 13px;
+ font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
+ text-decoration: none;
+ text-align: center;
+}
+
+#menu li a:hover { /* dimensions et définitions des boutons */
+ display: block; /* mise en block de pour lui donner des dimensions */
+ height: 22px;
+ color: #99FF33;
+ font-size: 13px;
+ font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
+ text-decoration: none;
+ text-align: center;
+}
+
+#menu a#tabs_home {
+ width: 79px;
+ background: transparent url(../images/maquette_decoupe_03.png) top left no-repeat;
+}
+#menu a#tabs_members {
+ width: 83px;
+ background: transparent url(../images/maquette_decoupe_05.png) top left no-repeat;
+}
+#menu a#tabs_cours {
+ width: 83px;
+ background: transparent url(../images/maquette_decoupe_05.png) top left no-repeat;
+}
+#menu a#tabs_releases {
+ width: 81px;
+ background: transparent url(../images/maquette_decoupe_07.png) top left no-repeat;
+}
+
+#menu_left {
+ position: absolute;
+ left: 0px;
+ top: 101px;
+ height: 30px;
+ width: 159px;
+}
+
+#menu_right {
+ position: absolute;
+ right: 0px;
+ top: 101px;
+ height: 30px;
+ width: 163px;
+}
+
+/*
+** main body
+*/
+
+div#newsbox {
+ /*width: 530px;*/
+ margin: 0px 15px 20px 15px;
+}
+
+div#newsbox ul {
+ background: #1D1D1D;
+ padding: 15px;
+}
+
+div#newsbox li {
+ display: block;
+}
+
+div#newsbox h1 {
+ height: 26px;
+ font-size: 14px;
+ font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
+ padding: 10px;
+ background: #1D1D1D;
+ color: #B8B8B8;
+ border-bottom: 1px solid #303030;
+}
+
+.rightbox a {
+ text-decoration: none;
+ color: #cccccc;
+}
+
+.rightbox a:hover {
+ text-decoration: none;
+ color: #99FF33;
+}
+
+div.rightbox {
+ width: 320px;
+ margin: 0px 15px 15px 0px;
+}
+
+div.rightbox ul {
+ background: #1D1D1D;
+ padding: 0px;
+ width: 320px;
+}
+
+div.rightbox li {
+ display: block;
+ padding: 5px 0px 8px 15px;
+ font-size:12px;
+ color:#cccccc;
+ border-bottom: 1px solid #303030;
+}
+
+div.rightbox h1 {
+ height: 26px;
+ font-size: 14px;
+ font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
+ padding: 10px;
+ background: #1D1D1D;
+ color: #B8B8B8;
+ border-bottom: 1px solid #303030;
+}
+
+#all_side {
+ float: left;
+ padding: 0px;
+ margin: 0px;
+ background: #303030;
+}
+
+#left_side {
+ float: left;
+ width: 550px;
+ padding: 0;
+ background: #303030;
+}
+
+#newsbox h2 {
+ color: #B8B8B8;
+ margin: 10px 0px 0px 0px;
+ padding: 0px 0px 0px 10px;
+ background: url(../images/puce_carre.jpg) left no-repeat;
+}
+
+.news_date {
+ color: #6D6C6C;
+ margin: 10px 0px 0px 0px;
+ padding: 0px 0px 0px 5px;
+}
+
+.news_separator {
+ margin: 0px 0px 0px -15px;
+ padding:0;
+}
+
+.news_text {
+ font-size: 12px;
+ color: #B8B8B8;
+ margin: 10px 0px 0px 0px;
+ padding: 0px 0px 5px 20px;
+}
+
+#left_side h3 {
+ color: #aaa28b;
+ margin: 10px 0px 0px 0px;
+ padding: 0px 0px 0px 5px;
+}
+
+#right_side {
+ float: right;
+ width: 330px;
+}
+
+div#menu
+{
+ float:left;
+ margin-bottom: 20px;
+ width: 900px;
+ height: 130px;
+}
+
+/*
+ #right_side li a:hover {
+ color: #cfc5ab;
+ height: 26px;
+ font: 10px Verdana, "Lucida Grande", Tahoma, Helvetica, Sans-Serif;
+ text-decoration: none;
+ }
+
+#right_side li {
+display: block;
+list-style-type: none;
+padding: 0;
+margin: 0;
+}
+
+#right_side ul {
+margin: 0px 0px 0px 10px;
+}
+
+#right_side li a,span{
+color: #aaa28b;
+height: 26px;
+font: 10px Verdana, "Lucida Grande", Tahoma, Helvetica, Sans-Serif;
+text-decoration: none;
+}
+*/
+
+#right_side h2 {
+ color: #aaa28b;
+ margin: 10px 0px 0px 0px;
+ padding: 0px 0px 0px 5px;
+ font-size: 12px;
+ font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
+}
+
+#right_side h3 {
+ color: #aaa28b;
+ margin: 10px 0px 0px 0px;
+ padding: 0px 0px 0px 5px;
+ font-size: 12px;
+ font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
+}
+
+
+/*
+ ** footer class & id
+ */
+
+#main_footer {
+ position: relative;
+ margin: 0 auto;
+ width: 901px;
+ height: 47px;
+}
+
+#foot_menu {
+ background: #303030;
+ border-left: 1px solid #646464;
+ border-right: 1px solid #646464;
+}
+
+#foot_menu ul {
+ height: 15px;
+ width: 860px;
+ margin: 0 auto;
+ text-align: center;
+}
+
+#foot_menu li {
+ display: inline;
+ margin: 0 10px;
+}
+
+#foot_menu li a {
+ color: #B8B8B8;
+ font-size: 9px;
+ font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
+ text-decoration: none;
+}
+
+#foot_menu li a:hover, a:active {
+ color: #B8B8B8;
+ font-size: 9px;
+ font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
+ text-decoration: none;
+}
+
+#foot_logo {
+ float: right;
+ position: relative;
+ top: 4px;
+ right: 20px;
+}
+
+#foot_menu img {
+ position: relative;
+ top: 5px;
+ border: 0;
+}
+
+.footnoimg {
+ background: none;
+}
+
+#ft_img_left {
+ position: absolute;
+ left: 0px;
+ height: 19px;
+ width: 19px;
+ background: url(../images/corner_24.png) no-repeat;
+}
+
+#ft_img_mid {
+ position: absolute;
+ left: 19px;
+ height: 18px;
+ width: 863px;
+ background: #303030;
+ border-bottom: 1px solid #646464;
+
+}
+
+#ft_img_right {
+ position: absolute;
+ right: 0px;
+ height: 19px;
+ width: 19px;
+ background: url(../images/corner_24_r.png) no-repeat;
+}
+
+#logo_edito {
+ float: left;
+}
+
+table a.texte_link,table {
+ color: #FFFFFF;
+}
+
+a:hover {
+ text-decoration: none;
+ color: #99FF33;
+}
+
+a:active {
+ text-decoration: none;
+ color: #99FF33;
+}
+
+.back_tendu {
+ background-color:#460002;
+}
+
+.back_private {
+ background-color:#990000;
+}
+
+img.daily_preview {
+ margin-bottom: -5px;
+}
diff --git a/css/eptv.css b/css/eptv.css
deleted file mode 100644
index 2352845660fc47939ccb3a4045ae24dcb24abedb..0000000000000000000000000000000000000000
--- a/css/eptv.css
+++ /dev/null
@@ -1,114 +0,0 @@
-.back{
-background-color:#000000;
-}
-.back_tendu{
-background-color:#A8A8C6;
-}
-.back_private{
-background-color:#DFBE5B;
-}
-
-
-.titre_rubrique{
- color:#FFFFFF;
- font-family:courier;
- font-size:16px;
- font-weight:bold;
-}
-.titre_sous_rubrique{
- color:#000000;
- font-family:courier;
- font-size:15px;
- font-weight:bold;
-}
-.texte_normal{
- color:#000000;
- font-family:courier;
- font-size:14px;
- font-weight:none;
-}
-.texte_date{
- color:#808080;
- font-family:courier;
- font-size:15px;
- font-weight:none;
-}
-/*.texte_link{
- color:#000099;
- font-family:courier;
- font-size:12px;
- font-weight:none;
-}
-.texte_link:hover{
- color:#B8C16F;
- font-family:courier;
- font-size:12px;
- font-weight:none;
-}
-.texte_link:visited{
- color:#123456;
- font-family:courier;
- font-size:12px;
- font-weight:none;
-}*/
-.texte_info{
- color:#999999;
- font-family:courier;
- font-size:13px;
- font-weight:bold;
-}
-.texte_info:hover{
- color:#B8C16F;
- font-family:courier;
- font-size:13px;
- font-weight:bold;
-}
-.texte_input{
- color:#8B1B14;
- font-family:courier;
- font-size:12px;
- font-weight:none;
-}
-.menu{
- color:#8B1B14;
- font-family:courier;
- font-size:19px;
- font-weight:bold;
- text-decoration:none;
-}
-.menu:hover{
- color:#B8C16F;
- font-family:courier;
- font-size:19px;
- font-weight:bold;
- text-decoration:none;
-}
-/*.lien{
- color:#999999;
- font-family:courier;
- font-size:13px;
- font-weight:bold;
- text-decoration:none;
-}
-.lien:hover{
- color:#B8C16F;
- font-family:courier;
- font-size:13px;
- font-weight:bold;
- text-decoration:none;
-}*/
-.button{
- font:courier;
- font-size:10px;
- background-color:#888888;
-}
-.small_button{
- font:courier;
- font-size:9px;
- background-color:#888888;
-}
-.textarea{
- font:courier;
- font-size: 12px;
-}
-
diff --git a/css/main.css b/css/main.css
deleted file mode 100644
index ae124756e6f54cf3901f43e222d638931c8d41e5..0000000000000000000000000000000000000000
--- a/css/main.css
+++ /dev/null
@@ -1,454 +0,0 @@
-@charset "UTF-8";
-/* CSS Document */
-
-body
-{
- background: #000000;
- margin: 0px;
- padding: 0px;
- font-size: 11px;
- color: #CCCCCC;
- font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
-}
-* {
- margin: 0px;
- padding: 0px;
- font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
-}
-ul, li {
- list-style-type: none;
- padding: 0px;
- margin: 0px;
-}
-li {
- display: inline;
-}
-li a {
- display: inline;
-}
-img {
- margin: 0 auto;
- padding: 0px;
-}
-.clr {
- clear: both;
- height: 0px;
-}
-
-.copyrights {
- color: #646464;
- font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
- text-align: center;
- margin: 10px 0px 0px 0px;
-}
-
-
-/*
-** main header body footer container
-*/
-#main_container {
- position: relative;
- background: #303030;
- top: 0px;
- width: 901px;
- margin: 0 auto;
-}
-
-#main_body {
- margin: 0px 0px 0px 0px;
- background: #303030;
- border-left: 1px solid #646464;
- border-right: 1px solid #646464;
-}
-
-#main_header_home {
- height: 100px;
- border-left: 1px solid #646464;
- border-right: 1px solid #646464;
- border-bottom: 1px solid #646464;
- background: #003366;
- background: url(../images/jukebox_2.jpg) no-repeat;
-}
-
-#main_header_membres {
- height: 249px;
- background: url(../images/nomad_v5_top_membres.png) no-repeat;
-}
-
-#main_header_cours {
- height: 249px;
- background: url(../images/nomad_v5_top_cours.png) no-repeat;
-}
-
-#main_header_releases {
- height: 249px;
- background: url(../images/nomad_v5_top_releases.png) no-repeat;
-}
-
-
-div.top_box
-{
- margin-top: 40px;
- text-align: center;
-}
-
-/*
-** header/menu class & id
-*/
-#menu ul, #menu li {
- margin:0;
- padding: 0;
- list-style-type: none;
- }
-#menu ul {
- position: absolute;
- height: 22px;
- /*width: 334px;*/
- left: 200px;
- top: 101px;
-}
-#menu li {
- float: left;
-}
-#menu li a { /* dimensions et définitions des boutons */
- display: block; /* mise en block de pour lui donner des dimensions */
- height: 22px;
- color: #B8B8B8;
- padding: 8px 0px 0px 0px;
- font-size: 13px;
- font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
- text-decoration: none;
- text-align: center;
-}
-
-#menu li a:hover { /* dimensions et définitions des boutons */
- display: block; /* mise en block de pour lui donner des dimensions */
- height: 22px;
- color: #99FF33;
- font-size: 13px;
- font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
- text-decoration: none;
- text-align: center;
-}
-
-#menu a#tabs_home {
- width: 79px;
- background: transparent url(../images/maquette_decoupe_03.png) top left no-repeat;
-}
-#menu a#tabs_members {
- width: 83px;
- background: transparent url(../images/maquette_decoupe_05.png) top left no-repeat;
-}
-#menu a#tabs_cours {
- width: 83px;
- background: transparent url(../images/maquette_decoupe_05.png) top left no-repeat;
-}
-#menu a#tabs_releases {
- width: 81px;
- background: transparent url(../images/maquette_decoupe_07.png) top left no-repeat;
-}
-
-#menu_left {
- position: absolute;
- left: 0px;
- top: 101px;
- height: 30px;
- width: 159px;
-}
-
-#menu_right {
- position: absolute;
- right: 0px;
- top: 101px;
- height: 30px;
- width: 163px;
-}
-
-/*
-** main body
-*/
-
-div#newsbox {
- /*width: 530px;*/
- margin: 0px 15px 20px 15px;
-}
-
-div#newsbox ul {
- background: #1D1D1D;
- padding: 15px;
-}
-
-div#newsbox li {
- display: block;
-}
-
-div#newsbox h1 {
- height: 26px;
- font-size: 14px;
- font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
- padding: 10px;
- background: #1D1D1D;
- color: #B8B8B8;
- border-bottom: 1px solid #303030;
-}
-
-.rightbox a {
- text-decoration: none;
- color: #cccccc;
-}
-
-.rightbox a:hover {
- text-decoration: none;
- color: #99FF33;
-}
-
-div.rightbox {
- width: 320px;
- margin: 0px 15px 15px 0px;
-}
-
-div.rightbox ul {
- background: #1D1D1D;
- padding: 0px;
- width: 320px;
-}
-
-div.rightbox li {
- display: block;
- padding: 5px 0px 8px 15px;
- font-size:12px;
- color:#cccccc;
- border-bottom: 1px solid #303030;
-}
-
-div.rightbox h1 {
- height: 26px;
- font-size: 14px;
- font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
- padding: 10px;
- background: #1D1D1D;
- color: #B8B8B8;
- border-bottom: 1px solid #303030;
-}
-
-#all_side {
- float: left;
- padding: 0px;
- margin: 0px;
- background: #303030;
-}
-
-#left_side {
- float: left;
- width: 550px;
- padding: 0;
- background: #303030;
-}
-
-#newsbox h2 {
- color: #B8B8B8;
- margin: 10px 0px 0px 0px;
- padding: 0px 0px 0px 10px;
- background: url(../images/puce_carre.jpg) left no-repeat;
-}
-
-.news_date {
- color: #6D6C6C;
- margin: 10px 0px 0px 0px;
- padding: 0px 0px 0px 5px;
-}
-
-.news_separator {
- margin: 0px 0px 0px -15px;
- padding:0;
-}
-
-.news_text {
- font-size: 12px;
- color: #B8B8B8;
- margin: 10px 0px 0px 0px;
- padding: 0px 0px 5px 20px;
-}
-
-#left_side h3 {
- color: #aaa28b;
- margin: 10px 0px 0px 0px;
- padding: 0px 0px 0px 5px;
-}
-
-#right_side {
- float: right;
- width: 330px;
-}
-
-div#menu
-{
- float:left;
- margin-bottom: 20px;
- width: 900px;
- height: 130px;
-}
-
-/*
-#right_side li a:hover {
- color: #cfc5ab;
- height: 26px;
- font: 10px Verdana, "Lucida Grande", Tahoma, Helvetica, Sans-Serif;
- text-decoration: none;
-}
-
-#right_side li {
- display: block;
- list-style-type: none;
- padding: 0;
- margin: 0;
-}
-
-#right_side ul {
- margin: 0px 0px 0px 10px;
-}
-
-#right_side li a,span{
- color: #aaa28b;
- height: 26px;
- font: 10px Verdana, "Lucida Grande", Tahoma, Helvetica, Sans-Serif;
- text-decoration: none;
-}
-*/
-#right_side h2 {
- color: #aaa28b;
- margin: 10px 0px 0px 0px;
- padding: 0px 0px 0px 5px;
- font-size: 12px;
- font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
-}
-
-#right_side h3 {
- color: #aaa28b;
- margin: 10px 0px 0px 0px;
- padding: 0px 0px 0px 5px;
- font-size: 12px;
- font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
-}
-
-
-/*
-** footer class & id
-*/
-
-#main_footer {
- position: relative;
- margin: 0 auto;
- width: 901px;
- height: 47px;
-}
-
-#foot_menu {
- background: #303030;
- border-left: 1px solid #646464;
- border-right: 1px solid #646464;
-}
-
-#foot_menu ul {
- height: 15px;
- width: 860px;
- margin: 0 auto;
- text-align: center;
-}
-
-#foot_menu li {
- display: inline;
- margin: 0 10px;
-}
-
-#foot_menu li a {
- color: #B8B8B8;
- font-size: 9px;
- font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
- text-decoration: none;
-}
-
-#foot_menu li a:hover, a:active {
- color: #B8B8B8;
- font-size: 9px;
- font-family: Tahoma,'Trebuchet MS',Verdana,Arial,"Lucida-Grande",Sans-serif;
- text-decoration: none;
-}
-
-#foot_logo {
- float: right;
- position: relative;
- top: 4px;
- right: 20px;
-}
-
-#foot_menu img {
- position: relative;
- top: 5px;
- border: 0;
-}
-
-.footnoimg {
- background: none;
-}
-
-#ft_img_left {
- position: absolute;
- left: 0px;
- height: 19px;
- width: 19px;
- background: url(../images/corner_24.png) no-repeat;
-}
-
-#ft_img_mid {
- position: absolute;
- left: 19px;
- height: 18px;
- width: 863px;
- background: #303030;
- border-bottom: 1px solid #646464;
-
-}
-
-#ft_img_right {
- position: absolute;
- right: 0px;
- height: 19px;
- width: 19px;
- background: url(../images/corner_24_r.png) no-repeat;
-}
-
-#logo_edito {
- float: left;
-}
-
-a {
- text-decoration: none;
- color: #cccccc;
-}
-
-table a.texte_link,table
-{
- color: #FFFFFF;
-}
-
-a:hover {
- text-decoration: none;
- color: #99FF33;
-}
-
-a:active {
- text-decoration: none;
- color: #99FF33;
-}
-.back_tendu{
-background-color:#460002;
-}
-.back_private{
-background-color:#990000;
-}
-
-img.daily_preview
-{
- margin-bottom: -5px;
-}
diff --git a/include/connection.php b/include/connection.php
index 397381c15fae49ce680f02f98e77173ef73858b0..331334c17afbc2836d33061fc2afb969771b2f46 100644
--- a/include/connection.php
+++ b/include/connection.php
@@ -1,64 +1,49 @@
function dispConnection(){
-
-
- /////// BEGIN TABLE UP ///////
- if ($_SESSION["user_right"] == 0) {
- $str .= dispConnectionLogin();
- }
- else {
- $str .= dispConnectionDisconnect();
- }
-
-
-
- /////// BEGIN SPACE ///////
- $str .= '';
-
-
- /////// BEGIN TABLE DOWN ///////
- if ($_SESSION["user_right"] == "ANONYM") {
-// $str .= dispConnectionRegister(); // HIDE WAITING FORUM
- }
- else if ($_SESSION["user_right"] == "EPI") {
-// $str .= dispConnectionEpiRegister(); // HIDE WAITING REGISTER PAGE
- }
- else {
-// $str .= dispConnectionProfile(); // HIDE WAITING EDIT PROFIL
- }
-
-
- echo $str;
+ /////// BEGIN TABLE UP ///////
+ if ($_SESSION["user_right"] == 0)
+ $str .= dispConnectionLogin();
+ else
+ $str .= dispConnectionDisconnect();
+
+ /////// BEGIN SPACE ///////
+ //$str .= '';
+
+ /////// BEGIN TABLE DOWN ///////
+ if ($_SESSION["user_right"] == "ANONYM") {
+ // $str .= dispConnectionRegister(); // HIDE WAITING FORUM
+ }
+ else if ($_SESSION["user_right"] == "EPI") {
+ // $str .= dispConnectionEpiRegister(); // HIDE WAITING REGISTER PAGE
+ }
+ else {
+ // $str .= dispConnectionProfile(); // HIDE WAITING EDIT PROFIL
+ }
+
+ echo $str;
}
-
-
function dispConnectionLogin() { /////// CONNECTION LOGIN ///////
-
- $str = dispTableBegin("c o n n e x i o n", "30", 1);
-
- if ($_SERVER['HTTPS'] == "on")
- $str .= '
-
-
- ';
- else
- $str .= "Pour vous connecter au site, vous devez utiliser une connexion SSL!";
-
- $str .= dispTableEnd();
-
- return ($str);
+ $str = '';
+ $str .= dispTableBegin("c o n n e x i o n", "30", 1);
+ if ($_SERVER['HTTPS'] == "on") {
+ $str .= ' ';
+ }
+ else
+ $str .= " Pour vous connecter au site, vous devez utiliser une connexion SSL! ";
+
+ $str .= dispTableEnd();
+ $str .= ' ';
+ return ($str);
}
-
-
function dispConnectionRegister() { /////// CONNECTION REGISTER ///////
diff --git a/include/dailymotion.php b/include/dailymotion.php
index 02d1c204652ffe0dc1424b401fb0ee3c95b6675b..169a0628fe6bb45d1a301da495ee73848579983d 100644
--- a/include/dailymotion.php
+++ b/include/dailymotion.php
@@ -1,11 +1,13 @@
EPTV - Dailymotion Preview |